close node-webkit IPC socket in forked child process

part of Fix rogerwang/node-webkit#1096