bugfix-5286
Added network counter. When the command for requesting history in a certain network is called, the counter is increased. If the counter has reached its maximum, then the commands are no longer called. If history data comes in, then the counter is decremented.