Use mutex to workaround non-thread-safe libGeoIP library