proper OSMInput close on exception