Kerry vows close cooperation with next govt