added docblock to cancel_sync_repo