Added configurable sleeptimer for the daemon to decrease the CPU usage.