Trump says end of pandemic 'in sight' before contracting virus