Destruction
Often, a Service needs to perform cleanup operations on the Engine when the instance is destroyed, such as closing a database connection. If so, implement and register a destroyMethod on the Service type. This method is called whenever a Service instance is destroyed. It is called on any active Service Sessions on an Engine whenever an Engine shuts down.