South Coast beach closed after dead whale attracts shark