A terminal device configured to be connected with a printer configured to perform a print using print data via a network, the terminal device comprising: a first sending unit configured to perform a first sending process for sending a first type of data including the print data to the printer; and a second sending unit configured to perform a second sending process for sending a second type of data to the printer, the second type of data including information for causing the printer to stop using the first type of data; wherein the terminal device further comprises: a first measuring unit configured to measure time related to a period of duration of the first sending process; wherein the first sending unit is configured to continue to perform the first sending process until sending all of the first type of data is completed and to cancel the first sending process when a first instruction is provided by a user while performing the first sending process, wherein the second sending unit starts the second sending process when the first sending unit cancels the first sending process, wherein the terminal device further comprises a second measuring unit configured to measure time related to a period of duration of the second sending process; the second sending unit is configured to continue to perform the second sending process until the time measured by the second measuring unit elapses a predetermined time, and the second sending unit is configured to cancel to perform the second sending process without making an inquiry to the user when the time measured by the second measuring unit elapses the predetermined time even if sending all of the second type of data has not been completed. a first sending unit configured to perform a first sending process for sending a first type of data including the print data to the printer; and a second sending unit configured to perform a second sending process for sending a second type of data to the printer, the second type of data including information for causing the printer to stop using the first type of data; wherein the terminal device further comprises: a first measuring unit configured to measure time related to a period of duration of the first sending process; wherein the first sending unit is configured to continue to perform the first sending process until sending all of the first type of data is completed and to cancel the first sending process when a first instruction is provided by a user while performing the first sending process, wherein the second sending unit starts the second sending process when the first sending unit cancels the first sending process, wherein the terminal device further comprises a second measuring unit configured to measure time related to a period of duration of the second sending process; the second sending unit is configured to continue to perform the second sending process until the time measured by the second measuring unit elapses a predetermined time, and the second sending unit is configured to cancel to perform the second sending process without making an inquiry to the user when the time measured by the second measuring unit elapses the predetermined time even if sending all of the second type of data has not been completed. a first measuring unit configured to measure time related to a period of duration of the first sending process; wherein the first sending unit is configured to continue to perform the first sending process until sending all of the first type of data is completed and to cancel the first sending process when a first instruction is provided by a user while performing the first sending process, wherein the second sending unit starts the second sending process when the first sending unit cancels the first sending process, wherein the terminal device further comprises a second measuring unit configured to measure time related to a period of duration of the second sending process; the second sending unit is configured to continue to perform the second sending process until the time measured by the second measuring unit elapses a predetermined time, and the second sending unit is configured to cancel to perform the second sending process without making an inquiry to the user when the time measured by the second measuring unit elapses the predetermined time even if sending all of the second type of data has not been completed.