diff --git a/test/sharness/t0060-daemon.sh b/test/sharness/t0060-daemon.sh
index a81d2c9f39d826de8443e4da0228e39adb997c75..13a56fc1c28162f879d36a927d6dfc5049aa4a86 100755
--- a/test/sharness/t0060-daemon.sh
+++ b/test/sharness/t0060-daemon.sh
@@ -19,7 +19,7 @@ test_expect_success "setup IPFS_PATH" '
 # NOTE: this should remove bootstrap peers (needs a flag)
 # TODO(cryptix):
 #  - we won't see daemon startup failure because we put the daemon in the background - fix: fork with exit code after api listen
-#  - also default ports: might clash with local clients. Failure in that case isn't clear as well because pollEndpoint just uses the already running node 
+#  - also default ports: might clash with local clients. Failure in that case isn't clear as well because pollEndpoint just uses the already running node
 test_expect_success "ipfs daemon --init launches" '
   ipfs daemon --init >actual_daemon 2>daemon_err &
 '
@@ -102,10 +102,9 @@ test_expect_success "ipfs help output looks good" '
 # check transport is encrypted
 
 test_expect_success 'transport should be encrypted' '
-  nc localhost 4001 >swarmnc &
-  go-sleep 0.1s &&
+  nc -w 5 localhost 4001 >swarmnc &&
   grep -q "AES-256,AES-128" swarmnc &&
-  ! grep -q "/ipfs/identify" swarmnc ||
+  test_must_fail grep -q "/ipfs/identify" swarmnc ||
 	test_fsh cat swarmnc
 '
 
diff --git a/test/sharness/t0061-daemon-opts.sh b/test/sharness/t0061-daemon-opts.sh
index d01fb8c80574bba4f6acc13a3097f2ac6b881699..549fa3e8fd3925a6120687045134d67dbe9edc70 100755
--- a/test/sharness/t0061-daemon-opts.sh
+++ b/test/sharness/t0061-daemon-opts.sh
@@ -26,10 +26,9 @@ test_expect_success 'api gateway should be unrestricted' '
 '
 
 # Odd. this fails here, but the inverse works on t0060-daemon.
-test_expect_failure 'transport should be unencrypted' '
-  nc 127.0.0.1 "$PORT_SWARM" >swarmnc &
-  go-sleep 0.1s &&
-  ! grep -q "AES-256,AES-128" swarmnc &&
+test_expect_success 'transport should be unencrypted' '
+  go-sleep 0.5s | nc localhost "$PORT_SWARM" >swarmnc &&
+  test_must_fail grep -q "AES-256,AES-128" swarmnc &&
   grep -q "/ipfs/identify" swarmnc ||
   test_fsh cat swarmnc
 '