Fix stopping task sender