Issue IKTREDEL-103 by cableman: Removed not needed state variable on socket connection