Use the correct API for web services, use the MutexLocks and not the
C++11 equivalents.