Made disconnect more responsive.