[PATCH v4] server: Release of related atoms when destroying a, window class