iOS Deadlock fixed

- rare deadlock fixed
- added more .ConfigureAwait(false)
- small optimization to clear read bytes