Instantiate pool in the initialization thread
Since 30429d744d29 the pool instance is stored per thread so to initialize a pool within a thread, the instance must have been created in the same thread.
Since 30429d744d29 the pool instance is stored per thread so to initialize a pool within a thread, the instance must have been created in the same thread.