Fix a race condition where pCampbot actions could continue even if a bot had disconnected.