Stop braking in electric drives with asynchronous motors