Stop the previous worker if there was one