in sp_conn_destroy, the connection is reset after closing the open file descriptors.