Possible fix for losing connection errors. Should now re-connect properly automatically.