Deepstream

How to run deepstream python app after manualy(ctrl + c) without to reboot jetson nano

Please I need help.
I run an Pipeline that run ssd_model and render as rtsp. its work well but each time I stop the execution i have to reboot the jetson Nano. I don’t no why
Stop whit crtl+c
^CTraceback (most recent call last):
File “run.py”, line 66, in
main(args)
File “run.py”, line 60, in main
ds_meta_rasp_rtsp.tf_ssd_model(args.model)
File “/home/jetsonnano/Dokumente/DS_python_OD_IS/python_app/ds_meta_rasp_rtsp.py”, line 263, in tf_ssd_model
loop.run()
File “/usr/lib/python3/dist-packages/gi/overrides/GLib.py”, line 588, in run
raise KeyboardInterrupt
KeyboardInterrupt

(python3:6998): GStreamer-CRITICAL **: 22:00:41.734:
Trying to dispose element pipeline0, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

(python3:6998): GStreamer-CRITICAL **: 22:00:41.734:
Trying to dispose element src-elem, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

(python3:6998): GStreamer-CRITICAL **: 22:00:41.734:
Trying to dispose element convertor_src, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

(python3:6998): GStreamer-CRITICAL **: 22:00:41.734:
Trying to dispose element nvmm_caps, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

(python3:6998): GStreamer-CRITICAL **: 22:00:41.734:
Trying to dispose element Stream-muxer, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

(python3:6998): GStreamer-CRITICAL **: 22:00:41.734:
Trying to dispose element primary-inference, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

I0401 20:00:42.455662 6998 model_repository_manager.cc:837] unloading: ssd_inception_v2_coco_2018_01_28:1
ERROR: Triton: TritonServer model:ssd_inception_v2_coco_2018_01_28 get batch properties failed, triton_err_str:Unavailable, err_msg:Request for unknown model: ‘ssd_inception_v2_coco_2018_01_28’ version 1 is not at ready state
ERROR: TritonServer model:ssd_inception_v2_coco_2018_01_28 response failed to parse output data, nvinfer error:NVDSINFER_TRTIS_ERROR
ERROR: TRTIS server failed to parse response with request-id:94 model:ssd_inception_v2_coco_2018_01_28
pure virtual method called
terminate called without an active exception
Aborted (core dumped)

** Trying to run without reboot **
INFO: TrtISBackend id:5 initialized model: ssd_inception_v2_coco_2018_01_28
NvMMLiteOpen : Block : BlockType = 4
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:656 Failed to create CaptureSession
Segmentation fault (core dumped)

I see the log have errors, it’s possile if your app run into system crash or hang. can you quit the app gracefully with builtin python sample, say, test1 sample after ctrl-c?