close connection on completion