Fix issue where singleton continuous webjob gets into a state where it is not running on any instance.