-650 No outstanding asynchronous SQL statement
Possible Cause
There are no outstanding asynchronous requests during processing of either the WAIT or TEST statement.
Possible Solution
Ensure an asynchronous request exists before executing either WAIT or TEST statements.