Closing pooled connection