CSI Camera freezing after few hours

In Jetson Nano ,i have connected CSI rpi camera which is working fine initially for some time when application started.But after few hours camera is being freezed and application is not getting any video frame from camera.
My application integrated with QT.

  1. Check if it possible thermal problem.
  2. Check with build in APP nvgstcapture-1.0