how do i set a timeout on .getPageData() ?

I have noticed that when I call getPageData() to a host that is not responding at the time of the call servoy will lock up indefinitely, is there a way to set a timeout on this function?

The lockup isn’t indefinite but it is at least 30 seconds. We always do this before going out to the web. The code wouldn’t upload to the forum so screen shot supplied.