fix socket.io broken if rpc uncaught exception