Added better exception error checking, ping pong timeout, overall better error checking