Added a method to remove a connection that was created already.