Deleting connections from map when done