Fixed typo in wait documentation