Can't change SharedObject slot after relogin

Hello,

I can’t change SharedObject slot after relogin

            // Login

                myConnection.sharedWObject = SharedObject.getRemote(adminShObjName, _createFMSConnection.uri, true);
                    myConnection.sharedWObject.connect(_createFMSConnection);
                myConnection.sharedWObject.addEventListener(SyncEvent.SYNC, _doUsersCount.connectedUsersUpdate);
                myConnection.sharedWObject.setProperty("useractive", "User on");
                    myConnection.sharedWObject.connect(_createFMSConnection);    
                myConnection.sharedWObject.client = this;
            
            //Log out

                myConnection.sharedWObject.setProperty("useractive", "User Off");
                    myConnection.sharedWObject.connect(_createFMSConnection);
                myConnection.sharedWObject.removeEventListener(SyncEvent.SYNC, _doUsersCount.connectedUsersUpdate);
                myConnection.sharedWObject.connect(_createFMSConnection);
                myConnection.sharedWObject.close();
                myConnection.sharedWObject = null;
                _createFMSConnection.close();

On login the function adds SharedObject property and it’s value.
After logout it renames it to “User Off”.
After logout I relogin, but “User Off” remains. It seems strange…
myConnection.sharedWObject defined as public static.
Could you suggest any ideas?

Kioshin