Add documentation to WaitingTaskRunnerTest
Replace executeTaskWithin with an assertion
Use constants instead of magic numbers
Add a test to ensure waitingTaskRunner pauses

If a temporary exception is caught, waitingTaskRunner must pause every
thread for a short period of time.
This test ensure that it's the case.
Remove unused import
Merge branch 'master' into search-1.5.x