Clean up connect