daemon: added max_count arg to Cleanup