Catch up cancelled error in initial sync, and force close cursor

Andrey Veltischev requested to merge andrey/close_cursor into master

Merge request reports