Add a disconnect all function