[Acc] [PATCH] engine: initialize resources only once