Oil prices end 2022 higher despite demand concerns