Instability of closed spaces in general relativity