client: free additional commands on shutdown