Initialize semaphore at 1
Merge branch 'experimental' of https://github.com/project-nms/nms_code into experimental