[server][ChildProcessManager] Fix a problem that doesn't call onReset() correctly.