I managed to do it only for whole internet, but don't know how to do it for only one specific app - disable internet access for it and enable back on after a while.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)