[server][ChildProcessManager] Add a feature that can delete a EventCallback instance automatically.