Fix possible race condition with acquiring/releaseing connections from pool