add timeout on check
add timeout on check