This patch add check method to wait for the DB process in xcatd. Enhance the close method in Table.pm to disable the undef operation for nodelist in DB process as the reference has already been cached as a weak reference. close-issue: #1011