give client threads enough time to exit. dbx branch should fix this