try to fix EM threading issue, see:

https://github.com/igrigorik/em-http-request/issues/190#issuecomment-16995528