Wait for solr to reply with a failure message before continue test