minor refactoring
transaction commit/rollback on __exit__
stow away current connection on __del__