We can use `executionService.execute("replicated-map", task)` instead of creating a new thread.