def METHOD_NAME(pool_interval, timout, wait_all, completed_marked_dir):
    """
    Hold metrics collector parser until required pids are finished
    """
    if not sys.platform.startswith('linux'):
        raise Exception("Platform '{}' unsupported".format(sys.platform))
    pids, main_pid = GetMainProcesses(completed_marked_dir)
    return WaitPIDs(pids, main_pid, pool_interval, timout, wait_all, completed_marked_dir)