synchronize access to the ExecutorService