1. An image forming apparatus comprising: a communication interface configured to receive data; a buffer configured to store the data received by the communication interface; a main system configured to process the data stored in the buffer; a subsystem configured to be controlled by the main system to perform a function of the image forming apparatus; a system control unit configured to switch an operation status mode of the image forming apparatus between a normal status mode in which the main system and the subsystem are turned on, a deep sleep status mode in which the main system and the subsystem are turned off, and a light sleep status mode in which the main system is turned on and the subsystem is turned off; and a data processing unit configured to, when the operation status mode is the deep sleep status mode, process the data received from the buffer if the data is determined to be processable by the data processing unit, and cause the system control unit to switch the operation status mode from the deep sleep status mode to the normal status mode if the data received from the buffer is determined not to be processable by the data processing unit, wherein the main system includes a non-volatile memory that stores a controller program, and is configured to cause the system control unit to switch the operation status mode from the deep sleep status mode to the light sleep status mode according to the controller program if a read count of the controller program from the non-volatile memory reaches a threshold value, wherein, if the read count reaches the threshold value, the main system is configured to cause the system control unit to inhibit switching of the operation status mode to the deep sleep status mode until the image forming apparatus next starts, cause the system control unit to switch the operation status mode from the deep sleep status mode to the light sleep status mode, and perform a recovery process of a storage area of the controller program in the non-volatile memory when the image forming apparatus next starts, and wherein the threshold value is an upper limit of the read count at which a read disturb error does not occur in the non-volatile memory.