diff --git a/app/lib/streams/bma.js b/app/lib/streams/bma.js
index 2a35d73b6661505895af80922db9ccb6688e0dc3..f341b4a945580e81faae153a584a102f6aa84ba3 100644
--- a/app/lib/streams/bma.js
+++ b/app/lib/streams/bma.js
@@ -176,6 +176,7 @@ module.exports = function(server, interfaces, httpLogs) {
 
       closeConnections: function () {
         return Q.all(httpServers.map(function (httpServer) {
+          logger.info('uCoin server stop listening');
           return Q.nbind(httpServer.close, httpServer)();
         }));
       },
diff --git a/test/integration/peerings.js b/test/integration/peerings.js
index f4cb542c9ff730dc853a6a93599f8c0d6e85dcca..8a39a67b978535dd9f699fb5520bf01c58cb0e38 100644
--- a/test/integration/peerings.js
+++ b/test/integration/peerings.js
@@ -131,15 +131,15 @@ describe("Network", function() {
             until(s3, 'block', 1)
           ];
           // A block was successfully spread accross the network
-          s2.bma.closeConnections();
+          yield s2.bma.closeConnections();
           yield commitS1();
           yield [
             until(s3, 'block', 1)
           ];
-          s2.bma.reopenConnections();
           // Server 2 syncs block number 2 (it did not have it)
           yield sync(2, 2, s1, s2);
           yield s2.recomputeSelfPeer();
+          yield s2.bma.reopenConnections();
           yield [
             until(s2, 'block', 2),
             until(s3, 'block', 2),