code: public void reconnectSession(final Session session, String reconnectKey)
  			throws InterruptedException, Exception
  	{
  		session.getTcpMessageSender().close();
  		if (null != session.getUdpMessageSender())
  			session.getUdpMessageSender().close();
  
  		InetSocketAddress udpAddress = null;
  		if (null != udpClient)
  		{
  			udpAddress = doUdpConnection(session);
  		}
  
  		Event reconnectEvent = Events.event(
  				loginHelper.getReconnectBuffer(reconnectKey, udpAddress),
  				Events.RECONNECT);
  
  		doTcpConnection(session, reconnectEvent);
  	}
docs: Method used to reconnect existing session which probably got disconnected
  due to some exception. It will first close existing tcp and udp
  connections and then try re-connecting using the reconnect key from
  server.
  
  @param session
  The session which needs to be re-connected.
  @param reconnectKey
  This is provided by the server on
  {@link Events#GAME_ROOM_JOIN_SUCCESS} event and stored in the
  session.
  @throws InterruptedException
  @throws Exception