When a vessel, whether foreign or domestic, is seriously damaged, or the voyage is otherwise broken up beyond the possibility of pursuing it, the master, in case of necessity, may sell the vessel without instructions from the owners, unless by the earliest use of ordinary means of communication he can inform the owners and await their instructions.