This seems to have fixed the socket hang up error