-spec on_prep_stop(fun((_Reason) -> _),
classy_hook:conf()) -> classy_hook:hook().
Register a hook that is executed before shutting down business applications.
It is called before classy application starts the shutdown procedure, as well when the site leaves a cluster or heals from a network partition.