add mutex to offlineimap