add mysql db monitoring thread