Console: fixed reuse of closed graph (typically after a drop database)