chg: defer shutdown caused by SIGTERM if necessary
chg: release acquired semaphores before shutdown
chg: new version of schubert.lib
Merge pull request #413 from steenpass/resources

release acquired semaphores before shutdown
fix: typo