Add a retry decorator to retry 10 times on travis, because of the poor network