Declare base URL once and pass it around.
Add save timeout.