map: improve timeout handling of IP entries