An electronic device comprising: a communicator comprising communication circuitry configured to communicate with a server; a memory storing one or more instructions; and a processor configured to execute the one or more instructions stored in the memory to: set information, associated with an operation which is performed in response to an operation state change of the communicator occurring, with a first value, wherein the first value represents the operation to be skipped while the electronic device operates in a suspend mode and the operation state change of the communicator includes at least one of occurrence of a link down event of the communicator or occurrence of a link up event of the communicator, in response to the operation state change of the communicator occurring while the electronic device operates in the suspend mode, skip the operation based on the information with the first value, and in response to an operation mode of the electronic device being switched from the suspend mode to a normal mode, set the information with a second value, wherein the second value represents the operation to be performed in response to the operation state change of the communicator occurring. a communicator comprising communication circuitry configured to communicate with a server; a memory storing one or more instructions; and a processor configured to execute the one or more instructions stored in the memory to: set information, associated with an operation which is performed in response to an operation state change of the communicator occurring, with a first value, wherein the first value represents the operation to be skipped while the electronic device operates in a suspend mode and the operation state change of the communicator includes at least one of occurrence of a link down event of the communicator or occurrence of a link up event of the communicator, in response to the operation state change of the communicator occurring while the electronic device operates in the suspend mode, skip the operation based on the information with the first value, and in response to an operation mode of the electronic device being switched from the suspend mode to a normal mode, set the information with a second value, wherein the second value represents the operation to be performed in response to the operation state change of the communicator occurring. set information, associated with an operation which is performed in response to an operation state change of the communicator occurring, with a first value, wherein the first value represents the operation to be skipped while the electronic device operates in a suspend mode and the operation state change of the communicator includes at least one of occurrence of a link down event of the communicator or occurrence of a link up event of the communicator, in response to the operation state change of the communicator occurring while the electronic device operates in the suspend mode, skip the operation based on the information with the first value, and in response to an operation mode of the electronic device being switched from the suspend mode to a normal mode, set the information with a second value, wherein the second value represents the operation to be performed in response to the operation state change of the communicator occurring. <EOS>