Added extra thread to add resource, to unlock acquire on the empty pool.