Add Parallizer.in_parallizer_thread? to check if currently executing in Parallizer worker thread