The most appropriate time for the nurse to obtain a sputum specimen for culture is: