diff --git a/lib/discordrb/bot.rb b/lib/discordrb/bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/bot.rb
+++ b/lib/discordrb/bot.rb
@@ -815,6 +815,7 @@ module Discordrb
         method(:websocket_close)
       )
 
+      @ws.thread[:discordrb_name] = 'gateway'
       @ws.thread.join
     end
Give a name to the main WSCS thread