Thread-safe resolving instance within liftetimescope