catch socket hangup error

    events.js:72
        throw er; // Unhandled 'error' event
              ^
    Error: socket hang up