After connecting, socket can send before connected. remove block connect api