I am not familiar with the A320 but on A300-600 when the inbd tank boost pumps are running, fuel pressure opens a valve allowing the refuel manifold to drain into the inbd tanks - if the pumps are on when refueling fuel will continue to go into the tank whether the refuel valve is open or closed and can lead to fuel spillage. I suspect the A320 uses a similar system.