You should close all open programs before you begin the following process, if you are unsure which ports/connections are normally open while you are connected to the internet. On the other hand, if you are familiar with the ports/connections that are normally open, there is no need to close programs.