Closing non-pooled connections