Check if connected when listing bots.