Timeout on 6.0 Server Community

I’m using N1QL but the problem, I think, comes from the server. When I launch an insert into select query, the insert finish with time out but the documents are inserted. I explain, then insert into select should insert 74160 documents. It inserts all the documents except a few (16) on the first 2 minutes. After this, it hangs and finish with a time out (10 minutes) but all the documents are inserted (including the last 16 just when the time out happens). This problem doesn’t happen on Enterprise Edition.
Thanks a lot in advance and regards.