added more details about thread control