Removed the pthread_once() function because it doesn't actually do