Don't send a close frame if it has already been sent