Memory management fix
Flush folder change events every 1800 seconds