If the master DBC is closed, the pointer should be set to NULL as it is used to check whether the connection is still valid.