Exit on Error

The bot will exit when error is recieved from server. This will allow
for restarts when ping responses fail.