Detach it on exit, otherwise we will re-attach it on every call to get_client_detail_info(), leaking 12 KB of RAM every time