Changed run in consumer
Terminate is done