Improved closing joke sending

Enhancement:
* Use `std::numeric_limits<long>::max()` to close the joke.