Added interrupt support for delegate threads.