Added logic to handle hitting the api limit