catch sigkill on windows (sort of) and allow for graceful shutdown