fix(exec/temp):Handle exception from poll script's read function