The Periodicity Paradox: Why sleep() breaks your Event Loop