reset result cache when error occurs