option -stop to stop accepting new tasks, close #3