Implements queue.pause().