Clean up input temp table when finishing execution if possible