Properly implement Hot Reboot from ShutdownThread

Summary: this does the trick

Test Plan: try for the fun of it and merge

Reviewers: synergy

Differential Revision: http://review.codefirex.com/D382