Add disconnect support.