little example with queueMonitor, wait and pulse