improve close in at_exit
Merge branch 'master' of github.com:propublica/daybreak