An 81-year-old man is evaluated in follow-up after a recent hospitalization. He was admitted 2 weeks ago for pneumonia and was discharged 12 days ago with a 10-day course of appropriate antibiotics. For the last week, he has had low-grade fever, fatigue, and increased shortness of breath. He currently is taking no medications.

On physical examination, temperature is 38.4 °C (101.1 °F), blood pressure is 120/65 mm Hg, pulse rate is 80/min, and respiration rate is 28/min. BMI is 21. Oxygen saturation is 90% breathing ambient air. Pulmonary examination reveals decreased fremitus, dullness to percussion, and decreased breath sounds over the lower third of the right hemithorax.

Chest radiograph reveals a moderate right-sided pleural effusion and no effusion on the left side. Thoracic ultrasound shows a moderate echogenic pleural effusion with loculations. Thoracentesis is performed.

Pleural fluid analysis:

Leukocyte count

22,000/µL (22 × 109/L)

Glucose

40 mg/dL (2.2 mmol/L)

Lactate dehydrogenase

1256 U/L

pH

7.1

Gram stain

Negative

Which of the following is the most appropriate management?