Python MySQL connector - unread result found when using fetchone,cursor = cnx.cursor(buffered=True)