set engine run forever when forever is True