finalize (close) input before removing it
svn path=/branches/kdepim/enterprise4/kdepim/; revision=824707