Added batched removing threads