Transformer overload protection