Yes, the thread that called executor.submit() should run task on his own
if executor rejected execution via RejectedExecutionException. Note that
it is possible to configure e.g. ThreadPoolExecutor with CallerRunsPolicy handler.
This handler executes the new task independently of the thread pool if the queue is full
and exception is not thrown.