Test workaround for sharing violation errors.