How to set timeout and throw exception when time is out in calling SAP RFC IS60

Details is like this:
We need to call RFC and wait its return message, due to performance, we have to set timeout as 30 mins. If no return from RFC for 30 minutes, caller has to log error and throw an exception.
I know that there is no use to set timeout in flow service, but how can I control this manually?
I hope this timeout configurated in IS console->settings->extended