I'd suggest only incrementing the connection count inside `__wt_conn_btree_sync_and_close`.  That is, only if a handle is actually closed.