Hm, yes, looks like checking `$keepAlive` is not needed after all!