trying to acquire yum lock a few times before giving up