Fixed socket-purge-flags.