added WORKAROUND for Bug 1084782 - Runtime Error Lock wait timeout
exceeded; try restarting transaction at
com.mysql.jdbc.SQLError.createSQLException:1,078

added WORKAROUND for Bug 1161736 - subscription-manager doesn't behave
in a consistent way