Swimmer has terrifying close encounter with shark