replaced (map ) with (doseq ), increased timeout for discovery