Stop daemon on inactivity