         t.equal res.statusCode, 200
         t.equal res.headers['content-type'], 'text/html; charset=utf-8'
         t.equal res.body, '<div id="content"></div>'
-        shutdown()
-      .then ->
+
+      .finally ->
+        shutdown()
+      .finally ->
         t.end()
 
 test 'react kup', (t) ->

        t.equal err.statusCode, 404
        t.equal err.response.headers['content-type'], 'text/html; charset=utf-8'
        t.equal err.response.body, '<html><head></head><body><div id="container"><div id="navigation-wrapper"><div id="navigation"></div></div><div id="content-wrapper"><div id="content"></div></div></div></body></html>'
        shutdown()
      .then ->
        t.end()

test 'session', (t) ->

      .then (res) ->
        t.equal res.body, 'delete'

      .finally ->
        shutdown()
      .finally ->
        t.end()

test 'any', (t) ->
