allow queries past maxSockets, better logging of couchDB errors