Error - local variable 'split_subscribes'

I’m getting error:: local variable ‘split_subscribes’ where it is not associated with a value

This is due to websocket’s error:: Error : Connection to remote host was lost.

What’s the solution pls tell