Fixed issue with not reconnecting because of invalid protcol or bad auth