There are many cases where CEX.io is resetting the connection for whatever reason.
The API needs to be able to handle this situation more gracefully.
Example of error...
events.js:72
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
Please modify the code so it either re-tries after a set backoff, or at a minimum catches the exception and passes it back using the standard function(err, data){} style that is the norm in node.js
Thanks!