U.S. equity markets closed lower across the board giving up earlier gains as investors took profits and reassessed the progress of a potential coronavirus treatment.