feat(sync): add max runtime for safety