add closing context manager for 2.6 compatiblity

old sqlalchemy wants closing() instead of transactional stuff