use alarm() to trigger force-stop