sleeps to avoid malformed db