Function downloadThumbCancel takes a thumbtype parameter.