I am looking for some sample code where a service task waits for user queue to be empty and proceeds to the next step when this condition is met. I know task listener can do this, but any details which can help with this use case would be appreciated