Set the BASE_WAITING_TIME to 10ms

It will take only 8 more attempts before reaching the default
5 minutes waiting time and will avoid the case where a single failing
document in the queue slows down everything.

This isn't supposed to happen ofter, but if it does it would be better
for the TaskRunner to not stop for too long
Merge branch 'master' into search-1.5.x