Clean up consume loop.