How did you figure out you are establishing a connection to google? Wireshark or similar?
Does it happen specifically as you open Firefox, or what do you mean with keeping ‘a connection permanently’? Which endpoint is it trying to reach?
I feel these are important details before people can help you out.