adding better error message when using an incomplete cursor on a closed connection
JS driver - Error if a base is provided in reduce
Merge branch 'v1.12.x' into next