Remove second Semaphore.wrap and pass in this.