Aborts the pending task and rejects the executor with TimeoutError if the task execution took longer then the given timeout.
The timeout in milliseconds after which the executor is rejected.
Aborts the pending task and rejects the executor with TimeoutError if the task execution took longer then the given timeout.