SocketIO event drop issue

I am using Cocos2dx Version 3.8.1 having SocketIO version 1.
I have implemented a function in ON event which is continuously waiting for socket event.
But sometimes, event run away from server but it is not coming to the app side while app is running on Device.

This behaviour is highly reproducible on simulator.