The CatalogCache's thread pool is actually shutted down and joined by the main process when the mongod process terminates if the ShardingState is enabled.
In some undetermined conditions, the ShardingState is disabled but some threads of this pool are still running causing memory leaks.
The goal of this ticket is to determine the proper condition to shutdown and join the CatalogCache's thread pool.