[SJS-170][TEST][WIP]: Fixing up socket test scripts
[SJS-177]: Set reconnection attempt should be in close channel function