Use interrupt mechanism to stop workers