add max_checks and check_inteval options

default for check_interval is 15 sec
default for max_checks is 0 (unlimited)