prevent late init of socket
prevent late init of socket