the $ 286 million messenger spacecraft , set for launch in 2004 , will benefit from a sun-blocking parasol and a loopy path that will fly it several times by venus and mercury and then ease it into orbit around mercury in 2009 .