Made the call to the server blocking with a return value.