Fix bug: Task was wait for more time(1s) than expect.