close elapsed motions with a rake task

fix specs