Move 'at_exit' blocks within scope of thread blocks
Merge branch 'staging' of github.com:ncbo/ncbo_cron into staging