"Galileo was no idiot. Only an idiot could believe that science requires martyrdom - that may be necessary in religion, but in time a scientific result will establish itself." David Hilbert, Mathematician, Author of Geometry and Imagination.
The church knew Galileo was correct; and he knew the church knew. He was biding his time and staying alive.