Previously, all progress made during sleep is reset, so if the thread keeps getting interrupted before the sleep finishes, the sleep will never complete.
Previously, all progress made during sleep is reset, so if the thread keeps getting interrupted before the sleep finishes, the sleep will never complete.