From the disconnect docs it looks like calling disconnect manually should make that possible: http://nodejs.org/api/child_process.html#child_process_event_disconnect

Generally I think this looks good but would like to see some tests on it. If you have time to write those that would likely be the fastest way to get this in but I can try to take a look, it just won't be immediate :/