Don't print a stacktrace when trying to get all threads