fixed a segmentation fault bug of upstream_check module when the check timeout is larger than the check interval.