Issue #2783171: Project composer may be running during a web request, and have this run as a shutdown function