Making the most of spontaneous rebellions at work