Revert "try to fix Spring.Restart"

This reverts commit 873094014197279eb1bbc99e82a546264c33a3f8.