[server][ChildProcessManager] Add a feature that can insert a callback when an execution is done.