fixed cleanup
Merge branch 'master' of github.com:lyxsus/replicate-couchdb