specially when the gst_task_join is waiting for the task to go stop and the task itself sets its back to paused, causing a deadlock on exit.
specially when the gst_task_join is waiting for the task to go stop and the task itself sets its back to paused, causing a deadlock on exit.