Fixed failing test for trying to listen on a used TCP port.