Changed so it closes both always and so it closes lineDecoder first.