BTM

add connection leak detection