I am using that new RC feed in some python script, basically just a copy of https://wikitech.wikimedia.org/wiki/RCStream
I randomly get disconnected with this error:
```
WARNING:socketIO_client:[connection error] connection closed ()
DEBUG:socketIO_client: [disconnect]
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): stream.wikimedia.org
DEBUG:requests.packages.urllib3.connectionpool:"GET /socket.io/1/ HTTP/1.1" 502 181
WARNING:socketIO_client:[waiting for connection] unexpected status code (502)
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): stream.wikimedia.org
DEBUG:requests.packages.urllib3.connectionpool:"GET /socket.io/1/ HTTP/1.1" 502 181
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): stream.wikimedia.org
DEBUG:requests.packages.urllib3.connectionpool:"GET /socket.io/1/ HTTP/1.1" 502 181
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): stream.wikimedia.org
DEBUG:requests.packages.urllib3.connectionpool:"GET /socket.io/1/ HTTP/1.1" 502 181
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): stream.wikimedia.org
DEBUG:requests.packages.urllib3.connectionpool:"GET /socket.io/1/ HTTP/1.1" 502 181
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): stream.wikimedia.org
DEBUG:requests.packages.urllib3.connectionpool:"GET /socket.io/1/ HTTP/1.1" 502 181
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): stream.wikimedia.org
DEBUG:requests.packages.urllib3.connectionpool:"GET /socket.io/1/ HTTP/1.1" 200 89
DEBUG:socketIO_client:[transports available] websocket xhr-multipart htmlfile jsonp-polling flashsocket xhr-polling
DEBUG:socketIO_client.transports:[transport selected] websocket
DEBUG:socketIO_client.transports:[packet received] 1::
DEBUG:socketIO_client: [connect]
DEBUG:socketIO_client.transports:[packet sent] 2:::
DEBUG:socketIO_client.transports:[packet received] 2::
DEBUG:socketIO_client: [heartbeat]
DEBUG:socketIO_client.transports:[packet received] 2::
DEBUG:socketIO_client: [heartbeat]
DEBUG:socketIO_client.transports:[packet sent] 2:::
DEBUG:socketIO_client.transports:[packet received] 2::
DEBUG:socketIO_client: [heartbeat]
DEBUG:socketIO_client.transports:[packet received] 2::
DEBUG:socketIO_client: [heartbeat]
DEBUG:socketIO_client.transports:[packet sent] 2:::
```
Only solution is restart of script. Why is that and how to fix it?