INDIclient: fix disconnect crash