fix #18: bug when: set size=1, quit when fetching not finished, restart will block the program