Only do the connect/trim part when establishing IPv4.

Otherwise two concurrent instances of fstrim might run (for IPv6,
too); it doesn't interfere in any way, but is unnecessary.