end()
function is added to the WireGuard
class to shutdown the WireGuard interface.
After shutting down the WireGuard interface, all communication is routed to the previous default interface, which is used as the underlying interface of the WireGuard interface.