Close input stream when loading copybooks.