Added Ctrl+C handler, so child process doesn't keep running when the logger is killed.