When you close off your sipre, the path finding algorithm for the animals and gnomes probably ends up in a really nasty failure loop which is probably causing the nearly frozen game condition.