Merge branch 'release/2.0.10' into develop
Make sure that we don't attempt to write to ended sockets. For now this works, but promise cancellation would be better.
Bump version to 2.0.11.
Merge branch 'release/2.0.11'