I think i read about something like an electric brake on the riobotz tutorial. You might want to check it.