Fix Event onDisconnect on socket (APE_JSF) don't work

See : https://groups.google.com/forum/#!topic/ape-project/yqF3iYDq8Qs