Added a semaphore for a stub soft durability implementation.