Manage timeouts that are not limited to 24.8 days in JavaScript