fixed a bug of ProcessHolder on restarting a ProecssHolder on a second time.