INT-2879 Polishing

- Improve parser error message.
- Minor doc polish.
INT-2879: Support `delete-after-poll` and `flush`