In remote areas with low population density, the stations are like you say quasi-monopolies, so they can just raise the prices if the foot traffic declines. The closures caused by need for expensive maintenance can be a problem, though.
Raised prices in the coming years are what people expect, and is a reason to get an electric car. The gas stations only have a monopoly among the owners of ICE vehicles, people don't have to stay in that group.