Fixes made to repair a socket failure causing fake disconnects.