Fixed VPN gateway clean-up for EC2 backend

When deleting VPN gateways, we have to wait for all active connections
to detach.