Oil holds near five-month high on United States output cuts