New sanitizer option - leak_check_interval_s:
spawns a background thread at startup which periodically do recoverable leak check with given interval.
Report file names (if log_path option != stderr|stdout) are appended with prefix "in-progress" and for the DoLeakCheck() call at exit - are restores back.
This can be used for leak sanitization long-running processes that never exits.
FYI, this won't work on Android (see D27003, for example). Same for LSan.