put some ops inside try: finally: so that stats logging happens on generator exit
Merge remote-tracking branch 'refs/remotes/origin/master'

Conflicts:
	kvlayer/_postgres.py