Create AwaitableCriticalSection solution