compositor: clean up a bit on shutdown