fix deadlock

Status Job ID Name Coverage
  Lint
passed #169315034
lint

00:04:02

 
  Test
failed #169315038
integration-tests

00:33:53

75.0%
passed #169315036
legacy-tests

00:08:20

52.2%
passed #169315037
package-tests

00:18:51

87.3%
 
Name Stage Failure
failed
integration-tests Test
coverage: 75.0% of statements
ok gitlab.com/NebulousLabs/Sia/siatest/wallet 49.609s coverage: 75.0% of statements
Makefile:99: recipe for target 'test-long' failed
make: *** [test-long] Error 1
Uploading artifacts...
WARNING: /builds/NebulousLabs/Sia/SiaTesting: no matching files
WARNING: /builds/NebulousLabs/Sia/cover/cover.out: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1