[resources] Nicely quit threads

Authored by anthonyfieroni on Nov 3 2017, 9:31 PM.