Connection is required throughout the competition. If at some point you lose your network connection, all your actions during this time will not be counted in competitions.