Update YouSync.py

Added locking in case it takes longer than the scheduled frequency