That would affect the price of gasoline, or the output of the refinery. Not the feedstock crude that goes INTO the refinery - if refineries are buying less oil because of a couple of shutdowns, demand goes down and prices of crude should FALL.
Based upon the rise in price of crude, it looks like your assumption is invalid. The refineries are not buying less but are ensuring supply in the belief that future prices will continue rising.