Fixing EADDRINUSE error in virtual device test.