This issue occurs due to the LACP module on the ESXi host restarting with all the other management services as this is part of the init.d scripts.
The virtual machines lose network connectivity at the time of the LACP module restart in both active and passive mode of LACP LAG on the vSphere Distributed Switch (vDS).