implements disconnect method
version 0.1.6