auto stop when finish.