If you are waiting for waiting for manual input, I know of no way around that.
If you are trying to do a dashboard that automatically refreshes, then you can code a delay in between the writes to the screen.
Register Hereor login if you are already a member
How can I refresh an AS/400 session...
Please define "refresh". What is the session doing? What is expected to happen from a "refresh"?