Closing test connection