Make http request synchronized in case several users use the same API implementation.