Use named parameter for wait_for.