Fixed port reuse issue.