there is no built in timeout mechanizm. You have to implement your own. Make separate Thread which connects to rmi registry and watch it from the main thread, if call doesn't return in some specified time, kill that thread and do other stuff that is required.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com