The 240-year-old newspaper was set to close next month after a long battle between its parent company and its union.