diff --git a/software/jstestnode/runTestSuite.in b/software/jstestnode/runTestSuite.in
index be2784de030bfc638199bb64a45130dd58d93df1..0da2266091610a8d8c60ace5238595c244b62b31 100644
--- a/software/jstestnode/runTestSuite.in
+++ b/software/jstestnode/runTestSuite.in
@@ -133,7 +133,6 @@ def main():
 
     html_parser = etree.HTMLParser(recover=True)
     body = etree.fromstring(browser.page_source.encode('UTF-8'), html_parser)
-    browser.quit()
 
     print ' '.join(body.xpath('//*[@id="qunit-testresult"]//text()'))
 
@@ -188,6 +187,9 @@ def main():
                   stdout='')
     # XXX: inform test node master of error
     raise EnvironmentError(result)
+  
+  finally:
+    browser.quit()
 
 if __name__ == "__main__":
     main()
diff --git a/software/jstestnode/software.cfg b/software/jstestnode/software.cfg
index 12a33db0d2c71210883dbb6ef0568644c8a65f81..f4c159dac9721527338daba0cbe34d0341c07298 100644
--- a/software/jstestnode/software.cfg
+++ b/software/jstestnode/software.cfg
@@ -107,7 +107,7 @@ mode = 0644
 [template-runTestSuite]
 recipe = slapos.recipe.template
 url = ${:_profile_base_location_}/runTestSuite.in
-md5sum = 8425081faf339e6c04ac59ecf0da606a
+md5sum = 777751601384344984c2759155d9bf99
 output = ${buildout:directory}/runTestSuite.in
 mode = 0644