If the remote Selenium server is not up ECONNREFUSED gets thrown and terminates the entire process.
Please do something similar to:
I'd fork & pull request myself BUT not sure how you want to handle the error... thanks!! Mark
I've changed the code in my fork to send errors raised by the HTTP client to the callback function provided with the command.
If you (everyone) approve of it, let me know and I will make a pull request.