Save weights on shutdown, pure exploitation mode, provide keeper pids, and cleanup.