Fixed KeyboardInterrupt in worker