diff --git a/lib/KurentoClient.js b/lib/KurentoClient.js
index <HASH>..<HASH> 100644
--- a/lib/KurentoClient.js
+++ b/lib/KurentoClient.js
@@ -198,7 +198,7 @@ function KurentoClient(ws_uri, options, callback) {
   options = options || {};
 
   var failAfter = options.failAfter
-  if (failAfter == undefined) failAfter = 5
+  if (failAfter == undefined) failAfter = Infinity
 
   if (options.enableTransactions === undefined) options.enableTransactions =
     true
@@ -784,6 +784,12 @@ function KurentoClient(ws_uri, options, callback) {
 
     var closed = false;
     var re = reconnect({
+        // all options are optional
+        initialDelay: 1e3,
+        maxDelay: 30e3,
+        // type: 'fibonacci',      // available: fibonacci, exponential
+        // randomisationFactor: 0,
+        // immediate: false
         failAfter: failAfter
       }, function (ws_stream) {
         if (closed)
Add support for infinity reconnections and another options for reconnecting

Change-Id: I<I>dff7a6cff<I>bc<I>a<I>b<I>cf<I>ec<I>