Using worker pool to process Pubsub requests in the background