make resolve_slist thread local