Better avoiding of stale element exception