If the client loses and restores it connection we must reset the u1db sync_target connection for it to be able to sync again
Add changes file for #5855.
Fix pep8 style.