fix loom semaphore test