Oil Gains Close to 1 Percent