Make it possible to exit compositor gracefully.