Thread-Safe Resource Manager