08a1c61a4d
We do not want to continue processing more threads if pthread_create(3) fails, rather return an error. This is for #182 but not yet fixed, there might be a memleak somewhere.