changed job restart behaviour - the job will now be restarted when the serialization is done, not before (#571)