sleep_sec renamed to delay_sec