Don't sleep between ready checks

For some reason, MATLAB does not seem to like it when this happens, and
I get "Invalid engine session" even though the session pointer looks
right. I don't really know what's going on here; this may not be a full
solution.