Close

Adding closing functionality for Connection.