Clearing up the monitor loop when CI wraps up