Adding stop functionallity for Motor