Fix client.connect() async call so that exceptions are always consumed