Table writers need to be closeable