Fix Connection executor name.
Better handle close of resources and make provider close more reliable.