Stop leaking sqlalchemy sessions.  Fixes #14.