Changed how disconnect works.