set a socket timeout for offlineimap

without this, offlineimap hangs whenever the network goes away (due to
suspend or whatever). without this set, the socket never times out, even
if the connection no longer exists, and offlineimap defers signals until
all connections are cleaned up, so it just permanently hangs. see
OfflineIMAP/offlineimap#56.