Fixed disconnect-close-stop sequence.