Avoiding the use of the captured synchronization context