Improve performance to obtain 0% CPU when idle.