except (Exception) as e:
# Whatever happens here, we have to close the socket and
# retry to connect to the session daemon since either
except (Exception) as e:
# Whatever happens here, we have to close the socket and
# retry to connect to the session daemon since either