is pneumonia contagious after antibiotics