make executors a context managers