Implement pause-when-idle