Bug 869916 - Synchronizing the asynchronous function `nextReset()`