Fixed issues with the ruby driver's implementation of noreply_wait.