function blockForSeconds(seconds) {
        const end = Date.now() + seconds * 1000;
        while (Date.now() < end) {
            // Busy-wait loop to block the event loop
        }
    }
A bunch of helper routes for testing purposes