Fix for offlineimap hangups