Cleanup the connection a little.