Add 5s timeout to discover()