fixes #12 Force shutdown