try to fix exception on reconnect