improved Thread-safety for requestHandlers (thanks to @hborders / #21)