add stall_timeout to abort hanging downloads