close models created by modelMiddleware at request finish/close