Overfill prevention