handle race condition on delete followed by get