don't send message before socket open