added starttask for the motor stop method