added close()
Merge branch 'master' of github.com:Travier/db