MT safe.
Task.stop
bool stop() nothrowStops task. This method merely schedules the task to stop and will not wait for the task to have completely stopped. Use gst.task.Task.join to stop and wait for completion.
Returns
true if the task could be stopped.