You can call the RESTful Service asynchronously, in separate thread. For example the following code
Thread th=new Thread(new Runnable() {
@Override
public void run() {
// Code calling the RESTful service
}
});
th.start();
}
will execute in a separate thread without blocking the main thread (request thread in your case.)