Added disconnect method