fix(semaphore): temporally workaround for weird behaviour