Move Semaphore from controller to db connection factory