[backend] dispatcher: fix endless loop when called with --restart

broken with commit #bf43b5c4, grrr