Removed debug statement. Also now close the port that the server creates properly.