Add async version of getConnection