NEED TO PUT A LOOP IN TO RETRY EMPTY ENTRIES FROM REPOSITORY.

Can also revert the PoolQuery message.