tweak disconnect conditions