Close session after using it, was hitting db connection limit previously