s3:blocking: use timeval_expired(&state->endtime) to stop processing