DC motor with brake