close panics