It looks like a bug. Weird, this used to work and I haven't changed any of its code. Looks like that over time it somehow got broken.
Please, change line 1403 in hiawatha.c to
if ((session->kept_alive > 0) && (session->config->ban_on_flooding > 0)) {
and let me know if this solves your problem.