fix to db session close - invoking wrong method