Ensure your Mac automatically cuts off Wi-Fi when it powers down.
Set up your Mac to automatically cut off all Wi-Fi connections during sleep or when the screen is closed.