Don't close file objects: descriptors are changed and objects might be already in use (e.g. by logging)