appstate: reconnect on SessionExpiredError

Closes: https://github.com/yandex-sysmon/gns/issues/144