Should pass a connection here because we might not be using a connection stack.
Use kwarg to specify connection.
Merge branch 'malthe-fix-safe-fetch-connection-error'