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