Close the session out before erasing all the fixtures.

Not closing the session before closing fixtures results in fatal errors
when using database sessions.

Fixes #3683