close the output text