How are you going to stand against a Soldier standing in his healing aura while he is headshotting you? I wouldn't be surprised if that out healed all the damage that the mech could deal out.
Fly straight into him and push him off it. Keep shooting him and keep him away. If he goes back in... well, boosters are probably ready again. The shield can help if he's getting too many hits in.