use header's tasktimeout if it exists