A time limit of 0 means no time limit.