diff --git a/src/transporters/tcp.js b/src/transporters/tcp.js
index <HASH>..<HASH> 100644
--- a/src/transporters/tcp.js
+++ b/src/transporters/tcp.js
@@ -178,6 +178,7 @@ class TcpTransporter extends Transporter {
 	 */
 	startTimers() {
 		this.gossipTimer = setInterval(() => this.sendGossipRequest(), Math.max(this.opts.gossipPeriod, 1) * 1000);
+		this.gossipTimer.unref();
 	}
 
 	/**
diff --git a/src/transporters/tcp/udp-broadcaster.js b/src/transporters/tcp/udp-broadcaster.js
index <HASH>..<HASH> 100644
--- a/src/transporters/tcp/udp-broadcaster.js
+++ b/src/transporters/tcp/udp-broadcaster.js
@@ -159,6 +159,8 @@ class UdpServer extends EventEmitter {
 
 			}, (this.opts.multicastPeriod || 5) * 1000);
 
+			this.discoverTimer.unref();
+
 			this.logger.info("UDP discovery started.");
 		}
 	}
unref tcp timers