Added method disconnect()