Connection handling

If connection to tvheadend was lost while reading xml, try to reconnect