stupid safeguard

added a catch-all try around the worker thread loop