Added disconnect function
Merge branch 'master' of https://github.com/tomvantilburg/cow
Merge pull request #128 from tomvantilburg/master

merge from Tom