Do not automatically smush images added with media_sideload_image

Hi There,

I am programatically adding media to wordpress using the media_sideload_image function. The problem is when I add the image, it takes a very long time to process as it is being smushed on upload.
Is there any way to exclude these images from being smushed when I add them via media_sideload_image?
I would still like other uploads to be smushed.

Thanks Guys