db session shutdown on app shutdown