Fixed Issue 32. Check network connectivity before search operation