check that process is not a thread