Only check once whether the port is in use or not.