Close connection on EOS