Ensures ActiveRecord connections are cleared after each call.