Make jvpp connection fail if control ping fails

Change-Id: Ib57cf97514fb6831f41930d9492e92ad11a3730d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
diff --git a/vpp-api/java/jvpp-registry/jvpp_registry.c b/vpp-api/java/jvpp-registry/jvpp_registry.c
index 5d2326a..f7f5561 100644
--- a/vpp-api/java/jvpp-registry/jvpp_registry.c
+++ b/vpp-api/java/jvpp-registry/jvpp_registry.c
@@ -216,9 +216,7 @@
             vl_api_control_ping_reply_t_print,
             sizeof(vl_api_control_ping_reply_t), 1);
 
-    send_initial_control_ping();
-
-    return 0;
+    return send_initial_control_ping();
 }
 
 JNIEXPORT jobject JNICALL Java_io_fd_vpp_jvpp_VppJNIConnection_clientConnect(