Close the connection after every operation, otherwise long-standing movers (xroot) will leak sockets!