there is a scenario where I need to use setInterval to obtain ajax requests (the backend is unwilling to use webscoket). I find that when the interface is in pending, it is still polling for sending requests. I want to make an optimization, that is, stop sending requests when the interface is pending, and then continue polling until the data is returned at the backend. Can this be solved with async and await?