Switch to URL parameter for the socket timeout (which also doesn't work).
Improve behavior if local database is shut down.  Report errors instead of queueing/trying to reconnect.