Wait for automatic redirection