Make sure the tld writer is closed properly after usage