Was not failing when a port was already allocated