Added EntityRepositoryObserver
Fixed bug where getting entities from empty pool got setup twice