set timer based on maximum of wall_timeout and timeout