renamed to preventDuplicates and only add management of requests when preventDuplicates is used