Automatic deploy cleanup after threshold reached