Hess posts $2.4 billion loss