Index: tests/Calculations/testsuite-calculations-jobmarket-1_2-dimethoxyethane.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-1_2-dimethoxyethane.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-1_2-dimethoxyethane.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-1_2-dimethylbenzene.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-1_2-dimethylbenzene.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-1_2-dimethylbenzene.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-2-methylcyclohexanone.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-2-methylcyclohexanone.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-2-methylcyclohexanone.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-N_N-dimethylacetamide.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-N_N-dimethylacetamide.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-N_N-dimethylacetamide.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-anthracene.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-anthracene.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-anthracene.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -67,5 +67,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-benzene.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-benzene.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-benzene.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-cholesterol.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-cholesterol.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-cholesterol.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-coronene.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-coronene.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-coronene.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-cycloheptane.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-cycloheptane.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-cycloheptane.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-dimethyl_bromomalonate.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-dimethyl_bromomalonate.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-dimethyl_bromomalonate.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-glucose.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-glucose.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-glucose.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-heptan.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-heptan.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-heptan.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-isoleucine.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-isoleucine.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-isoleucine.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-mpqc.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-mpqc.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-mpqc.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -51,5 +51,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-naphthalene.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-naphthalene.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-naphthalene.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-neohexane.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-neohexane.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-neohexane.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-phenanthrene.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-phenanthrene.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-phenanthrene.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -66,5 +66,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-proline.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-proline.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-proline.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-putrescine.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-putrescine.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-putrescine.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
Index: tests/Calculations/testsuite-calculations-jobmarket-tartaric_acid.at
===================================================================
--- tests/Calculations/testsuite-calculations-jobmarket-tartaric_acid.at	(revision 719979a8c49762f1babd83dcd6efa28cfb0242cf)
+++ tests/Calculations/testsuite-calculations-jobmarket-tartaric_acid.at	(revision f82afd070492dec39364f940f0d742b4b0f7fedb)
@@ -64,5 +64,6 @@
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
 
-# shutdown controller socket 
+# shutdown controller socket
+AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $worker_pid $server_pid]) 
 AT_CHECK([${AUTOTEST_PATH}/molecuilder_controller --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [stdout], [ignore], [kill $server_pid $worker_pid])
 
