Fix for not pausing stalled tasks