joyent/node — pull request #2708 by AndreasMadsen (2012-02-07 20:13:50+00:00)
Title: child_process: stop .disconnect() call if channel is diconnected

call return after emitting `error` if `connected === false`