Revert "Make GWCLifeCycleHandler behave correctly on application shutdown."

This reverts commit 88bb8b98 until figuring out why it breaks the build.