A broken pipe exception means that one process is attempting to read or writ data from a pipe, where the process on the other end of the pipe has died. Is that correct? You need to open a new sockets before you can send more data if you closed the connection.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.