Running consumer in one thread