handling of deconnected state in presence