Patent ID: 8797577

Claim:
A terminal device configured to be connected with an external device 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 to the external device; a second sending unit configured to perform a second sending process for sending a second type of data to the external device; a first measuring unit configured to measure time related to a period of duration of the second sending process; a second measuring unit configured to measure time related to a period of duration of the first sending process; and a notifying unit configured to notify a user an inquiry on whether or not to cancel the first sending process when the time measured by the second measuring unit elapses a second predetermined time, wherein in a case where an instruction instructing to cancel the first sending process is provided by the user in response to the notification of the notifying unit the first sending unit cancels the first sending process, in a case where the instruction instructing to cancel the first sending process is not provided by the user, the first sending unit continues to perform the first sending process until sending all of the first type of data is completed, the second sending unit continues to perform the second sending process until the time measured by the first measuring unit elapses first predetermined time, and the second sending unit cancels to perform the second sending process when the time measured by the first measuring unit elapses the first predetermined time even if sending all of the second type of data has not been completed.