Adding some identifiers to determine which stream is throwing the socket hang up error I can't find