Closed-loop control of nonlinear neural networks: The estimate of control time and energy cost. (September 2019)