resend messages on readyState === "open"