Set timeout to 300 seconds (5 minutes)