stop enumerate when disconnected