Copied ThreadManager classes to JActor3