connection shutdown exception fixed