Added environment management capability to namespace isolation to facilitate isolation with thread pools