Remove stale data from a client DB when client is terminated