Don't delay restart for a non-running assignment
Don't delay restart for a non-running assignment

The previous code could get the agent stuck in an endless loop, because
the code that checks whether the agent should restart comes before the
code that removes the jobtype from config

guidow/pyfarm-agent,pyfarm/pyfarm-agent,guidow/pyfarm-agent,guidow/pyfarm-agent,pyfarm/pyfarm-agent,pyfarm/pyfarm-agent