put back ask semaphore in Groovy