- added a proper-like try/except into listen