workaround for signal handling assertion error on windows (joyent/node#7701)