setCookie is sync for request library jars