Fixed reconnecting.