Adjust waiting time