when goal is reached we have to notify the correspondence so it can
track the search state