Fixed reconnect so it actually works now