Fix test race condition of get_num_threads not recognizing zombie processes by calling pid_is_running() before starting to retrieve the number of threads.
Fix test race condition of get_num_threads not recognizing zombie processes by calling pid_is_running() before starting to retrieve the number of threads.

git-svn-id: 9f18dd852162ff6c59c5533c0914e9cf81af9e7c@792 d8a29897-7e4b-0410-a74a-8bb4c295346f

elventear/psutil,elventear/psutil