Implement disconnect command