fix a bug while round robin quantum is bigger than 1024, the wait time error