Break topics hash loop if it is nil