lock when pool get client