Queue with ack implementation