Add a barrier to curl, we follow external/curl