GTask: task_wait_time is increased constantly when the number of running thread is greather than 10
If the number of running thread is always above the limit of 10 threads, the time needed to run a new thread will be increased every time up to the maximum allowed value G_TASK_WAIT_TIME_MAX
. The wait time has to be reduced when the number of running threads decreases.