fix: keepalive timeout only on free sockets