Fixed error in QueuedGraphviz, where the lock for the Job was set too late