will reconnect after socket.error

what it is meant to prevent:

Traceback (most recent call last):
  File "Dokos/main.py", line 13, in <module>
    bot.loop()
  File "/home/marvin/Dokos/bot.py", line 22, in loop
    line = self._connection.read()
  File "/home/marvin/Dokos/connection.py", line 10, in read
    return self._socketfileobject.readline().rstrip()
  File "/usr/lib/python2.7/socket.py", line 447, in readline
    data = self._sock.recv(self._rbufsize)
socket.error: [Errno 110] Connection timed out