display: don't leak display at the termination of the program