Adding error handeling for Connection closed by remote host