Added new support to close the connector connections asyncronously