Running the same cleanup code on connection errors as on connection ends (weird scenario where 'end' event wasn't fired discovered).
Merge pull request #33 from uber/server-con-error-catching

Server Connection Error Catching