added sleep mode for sync daemon