Release the port after done.