fixes #109 randomized idle wait time may exceed configured idle time