Test to see if freeing the semaphore breaks quicksort