Added close connection