added master level listener try/except