Work around deadlocks in test

Multiple threads are trying to use the single thread pool causing deadlocks
when I try to run tests. @danielnorberg was able to track down the issue 
and this gets it working on my machine.


Having timeouts in a sentry test as well, pushing now to see how travis handles the changes.