I know this error, because I diagnosed it in BF 2142 years ago...
Whats happening is about every 5 minutes, your game "calls" to EA's servers to update your status [statistics, etc]. For whatever reason, some routers ALWAYS block this transmission if their firewall is enabled. It is NOT a Windows problem.
In my case, I can turn off my routers internal firewall, and the issue goes away. I can also confirm its NOT a port forwarding issue . So try turning off your routers firewell.
This was a BIG issue when BF 2142 launched, and me and a bunch of other guys at the EA forums tracked this nasty bug down. Problem is, most other EA games have the SAME EXACT ISSUE, despite it getting fixed in 2142 over 5 years ago...[EA, fix your netcode already...]