Workaround for joyent/node#3584.