handleWorkerTimeout(worker) {
        const tasks = worker.withdrawTasks();
        tasks.forEach(task => this.rejectTask(task, new TimeoutError('worker call timed out!')));
        worker.stop();
    }
Handles the worker timeout by rejecting all the tasks that was in progress state and killing the worker.

@param {Worker} worker
@private