Refactored worker run() start method to separate functions for simplicity