Edit: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

Add value KeepRasConnections as a type REG_SZ. Set it to 1.