Modified the method that check the status of search engine