added checking for Seafile sync state