window timeout
log result only when it is not none