Better shutdown calls (kills observer thread as well), will Ctrl+C as well.