Adding auto-connect when a server problem occurs