[CSharpBinding] Try to fix a dead lock case reported from alan.
It was a very strange thread state - it wasn't visible which thread
was blocking that task. I assume that the execute sync option was the
cause of that.