removing assertions from worker thread