added a close connection