change writer's exit logic

in Stop(), sleep 1 sec before channel close.