[#130] moved node webkit's win.close() call to the callback method of the server.close method