semaphoreapp: Fix a bad idea