Fix result indexes
Removed wait for image writing
Lower similarity threshold
Adding fetched results to job + make histo generation
asynchronous
Adding explicit wait for finish queue job in tests