I am currently using the Jetson nano with an IMX219 CSI camera. I am using gstreamer in C++ to capture video footage that I then do image processing on. The problem I am encountering is that every so often I break my code and the Jetson does a core dump. The problem comes in when I try and run the code again. The Code fails to open the gstreamer pipeline. I am assuming that this is because the pipeline is being left open when the code crashed in the previous run. Is there any way to close that pipeline if this is the case. The current way that I fix this is by just restarting the Jetson but this gets very tedious at times. Any help would be appreciated.