Fixes connection reset issue, using one port for all tests instead of one port for every test.