bugfix: omlibdbi did not properly close connection on some errors

This happened to errors occuring in Begin/End Transaction entry
points.
Merge branch 'v7-stable'

Conflicts:
	ChangeLog