Removed a redundant thread status check.
Added tests to make sure immediate shutdown doesn't choke (see #8).