You will find this paper (Mascali et al., 2021) helpful for task based studies: https://onlinelibrary.wiley.com/doi/full/10.1002/hbm.25332
In addition to benchmarking denoising strategies, they also describe and provide code for optimizing acompcor regression that includes orthogonalizing the components to reduce over-fitting. In general, mean-scaling your confounds is also a good practice.