Don't block the main thread for longer than necessary, flag the current unit job to restart if possible