Changed WaitForNonStaleResults to accept waitTimeout instead of maximum attempts.