add run-when-idle