Improve logging of some errors
Increase API connection timeout time
Show better error message if we failed to connect
Send better error when we failed to connect