diff --git a/lib/resources/setup.js b/lib/resources/setup.js
index <HASH>..<HASH> 100644
--- a/lib/resources/setup.js
+++ b/lib/resources/setup.js
@@ -55,7 +55,7 @@ function tableCreation(req, res, next) {
 
     oncomplete: function(err) {
       if(err) return next(err);
-      res.end();
+      res.end('data: ' + JSON.stringify({done: true}) + '\n\n');
     },
 
     onprogress: function(script) {
Send done message when all tables are created