adding test for unexpected disconnection error