expose thread_id method on database connections
Release 2.13.1