connection tear down after file transfers