stop motor after connection