Ensure keep-alive works properly