You can not WAIT for both at the same time.

Depending on you application...
Wait for one and if not received, use the TIMEOUT option to goto a wait for the other.
Or...
Take all data all the time into an array, then check the array for "OK" or "ERROR". Then process from there.