antoniop
committed
on 16 Nov 18
Improve error handling idioms and handle additional error cases where the client has just disconnected