safer _QApp destroy