US oil inventories rise by about 800 thousand barrels