Kai,
No, the API function itself does not accept a timeout parameter. However, it would be possible to make a "three strikes and you're out" routine that checked again if the first "ping" reported the server down, so that the program made 3 checks before reporting the server down - that should not be too hard.
Regards, Ian