I was just copying the pattern in ChromeStorage.java. I guess ChromeStorage does this because of the reads/writes from disk, but in my case I don't think there is anything particularly time consuming.