Fail all pending calls on when websocket acts up

....i.e. when we get an error och its closed prematurely.