feat: make connection close after sync if timestamp is none

Related MR: search!125 (merged)

Merge request reports