Closes the appender and release resources.
Release any resources allocated within the appender such as file handles, network connections, etc.
It is a programming error to append to a closed appender.
This method cannot be overridden by subclasses. This method delegates the closing of the appender to the OnClose method which must be overridden in the subclass.