How to reset the bluetooth connection

I have a problem,

When printing for the first time with zpl does it with no problem, but when it reprints no, it is as if I lost the Bluetooth connection, I have tried using the ConnectionReestablisher class, but I have not been able to use the zebra SDK.

I have this Singleton in Java:


public static Connection getInstance(String mac){

   if (printerConnection == null){

   printerConnection = new BluetoothConnection(mac);
  try {;
   } catch (ConnectionException e) {

   Log.e(Properties.TAG, "The connection was not established because " +

   "the printer is turned off or is not a compatible device!",e);
  return null;



   return printerConnection;



If you could help me, thank you!