Error 0x800408fc on Outlook when send/receive

Problem:

On a PC with win7 and outlook 2007 setup with gmail servers (pop3/smtp) error 0x800408fc occurs when send/receive.

Cause:

Tried re-creating account,profile and blank pst file.Nothing helped.It also happens in outlook safe mode.
Then tried to disable ipv6 on win7 by using http://support.microsoft.com/kb/929852 . After that I could send/receive without problem.