allow restart_command to be run when certain queues are overloaded. Closes #1