Issue with wait methods

Please, follow this advice