Properly terminate find -exec call