Closing DB session after use.