Use 'close' event in child_process example.

Node doesn't guarantee that all the data will be read from the 'ps'
before its 'exit' event is called, so the example is misleading.