Handle deconnection in idle mode (#35)