made S57Conduit terminate on end of input