Implemented KeyboardInterrupt into worker