[RUBY-74] handle partial disconnects