Put engines in a std::list and remove using list::remove