Air France Flight 447 crashed off Brazil 's coast in June 2009 as it headed to Paris from Rio de Janeiro .