prevent wal files to become huge