exit(1) on timeout