Checking whether or not the pthread reaper was created And handeling the error when it was not created