Need to solve: remote socket state unknown bug