Fix threading issues for requirements and settings.