Add disconnect_switch().
Fix a typo.