Ending DB session now works.