alias end=disconnect

refactored out of #2.