5 second timeout for dns resolution