Create Client Work Thread Env

We need this for shutting down properly.