Close #146. Fix #140. After cluster restart, queries cause runtime panic.