Reddit co-founder dies in NY weeks before trial