Prevent searching when in progress