Minor change to reset thread's interrupted status here