Use thread instead of ecore time