The great white shark forced the closure of City Beach in Perth, western Australia