Fixed open when port are not closed.