Replaced BlockingCollection.TryTake with Take

It appears that when using TryTake in a loop when running in Mono, it will
steadily use the CPU. In my case, the CPU usage was at 8% when running it
with Mono on Debian Wheezy.
Also changed the way the thread is stopped. Seems to stop much faster this way.