Ideally this would actually wait for the second call to `getContents` to finish instead of using a magic timer...