In case of error from the server, quit OK.
Merge pull request #34 from nearform/quit-on-error

In case of error from the server, quit OK.