closing the connection 2