Just search “Canada closes embassy” and you’ll get a few hits. It was in the news the week before the attacks and I haven’t heard a peep about it since. It doesn’t give imminenet attacks as a reason, but the timing is there...
I went back thru 25 Google pages, and the only reference I found to Canada closing its Libyan embassy before the attack the other day, was back in Feb 2011.