fix panic error on socket conn start when theres no server