shutdown memhog after one loop