Restarting deepstream pipeline after failure

Hi,
Please share a test application that we can reproduce the issue. Would be great to share a patch on default samples.

This looks similar to Deepstream crashes when rtsp fails - #26 by DaneLLL
Please explain what the deviation is between the two topics.