Gpsd checks database disconection