Make sure channel doesn't attempt to send a close message before it's opened.