To fix crash problem.

https://github.com/Automattic/socket.io/issues/1544