wait error