allow setting global thread pool executor for invocations