fix service connection leak