Update refresh state timeout from 15 to 20 minutes
Find first available public network when creating a router with an external gateway