handle timeout case