Timer module modified to work with pthreds instead of forks. Works as a harm.