fix for workers becoming stuck