almost finished delete connection