I tried the code you described, however it did not set a timeout to the http connection. I am using the android version of the client (2.05m) if that matters..
------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2406377