If the sole comes loose, re-glue it. This can be done by any good shoe repair shop, or you might try gluing it yourself using normal contact cement.