implement removing connection