Try to restore connection with BSDDB, if descriptor closed