Merge "Fix obtain() when the pool is still empty"