fixes status exception on unreachable host on node.js
Release v0.5.1.