Remove db session on application shutdown