#269 : Make sure ThreadLocals are cleared out at the end of the request