add time.Duration at waitServer