1.add check switch : check_interval,retry_interval,retry_times,event_handler
2.using mutiprocessing to deal with resource check