THRIFT-2782: D: Timing-insensitive unit tests for thrift.internal.resource_pool.