Fix timeout for search operations (DIRAPI-190, DIRSTUDIO-967)

git-svn-id: https://svn.apache.org/repos/asf/directory/shared/trunk@1590296 13f79535-47bb-0310-9956-ffa450edef68