close connection in winemodel