add waiting with timeout