issue #19550: Implement more efficient way to check ready status.