force a hard app close to prevent python's cleanup from thrashing