Fix #739 async cursor problem