Closes PDF file after merging together to prevent the last PDF from becoming unusable until the program is finished.