we need to exit this loop one day so that it finish