[test] Fixing an issue that caused the tests to fail with the `socket hang up` error
Merge pull request #27 from lpinca/fix/socket-hang-up

Fixed an issue that caused the tests to fail with the `socket hang up` error