add checkPing closedb