Fix manual restart bug

restart.first was not being reset when the 'R' key was pressed, meaning the child process would wait forever if the -r flag wasn't specified on the command-line.