Enable internet only for specific apps
I think the app called Little Snitch is right for the job.

In it you can set up who has access to Internet resources, including all not so obvious background "blood suckers", like the one checking for software updates and so on.