close local sqlalchemy session explicitly after finishing response