skeleton for ThreadExecutor