Java socket error: Network Error (tcp_error) A communication error occurred: "Connection reset by peer"