Russia 's announced choice of a theme for the meeting , energy security , turned into an embarrassment earlier this year after the authorities nearly shut off the supply of natural gas to Europe in the middle of winter after a dispute with Ukraine over prices .