keep-alive shenanigans