Sloved a db confire bug, when the server is inactive, the server will still keep checking db.