Call in apoc.periodic.repeat not working

Hi, I am trying to call in an apoc.periodic.repeat call like this:

CALL apoc.periodic.repeat("updateElastic",
'CALL"localhost", "some-index", "_doc", "test-id", null,
{id: "test-id", text: "test"})
YIELD value 
RETURN value', 30)

I can see the call in the logs, but nothing is happening on elasticsearch. If I run the outside of the apoc.periodic.repeat it works fine. Also if I run something else in repeat without (like updating a node property in neo4j) it works fine. So it seems like this combination is not supported, or how could I debug more?

I am using neo4j 4.1.3 on neo4j desktop.