python: Fails on Mavericks when multithreaded. Forced to be single threaded.