[BUGFIX] Destroy ExeFactory before return.