CC: $wait is really $opt{'wait'}.