The change of course comes amid turmoil in global energy markets as the war in the Middle East widens with no end in sight.