EU leaders fail to agree on gas price cap, but to keep studying