the function 'onSocketDisconnect' is added to side server
the function 'GameLoop' is added to side server