Add checks to not give a result if a thread is not suspended.