JobQueue: fix inf-loop without multi invocation of #shutdown()