Fixed socket session on client