How to stop/manage autorefresh

Is there a way to manage the refresh interval?

Code:

from streamlit_autorefresh import st_autorefresh

st_autorefresh(5000)

Reference: streamlit_autorefresh