Fix captcha caching across threads