Final fixes for proper shutdown of tornado
Merge branch 'dev' of https://github.com/echel0n/SickRage into testing