Trying to make HTTP handlers thread-safe