To avoid this type of problems you can use network consumption limiters or assign priorities to your programs, like NetBalancer does.
NetBalancer is a program that monitors the use of the internet by all your processes and allows you to control each one of them. This control can be more or less strict, depending on your needs.
The main advantage is that you can assign priorities to each one of the processes in a way that the consumption of the internet will be automatically regulated by the program for each one of the processes.
If you want to exercise a stricter control you can block the access to the internet from certain processes, freeing the resources that it was using in relation to the internet.