Prevent with_connection from rescuing StandardError