Control shower pump to avoid excessively long showers