doc: add example of event close for child_process
add a missing example of the event close for child_process
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines