anyway you could put only the getThreads call in a try/catch block