xrepaint.c: Close the display explicitly at the end.