KER-239: Destroy the Spring container on stop