Shorter time in waitFor functions