Syncgateway Error [4040] No such prepared statement

We also set the limit to 66560 and N1QL Feature Controller to 8 and restarted Sync-gateway. And we still see the issue.
Is there any other solution to fix this?