I heard the same story many years ago. But the Catholic Encyclopædia makes no mention of it, nor does any other reputable source I've been able to check, so I suspect it's a myth. The fact that he was never canonised is probably due to the fact that for a long time there was considerable doubt as to the authorship of the Imitation.